package com.leave.entity;

/**
 * 系统用户类
 *
 */
public class User {

	/**
	 * 学生类型用户
	 */
	public static final int USER_STUDENT = 1;

	/**
	 * 班主任类型用户
	 */
	public static final int USER_TEACHER = 2;

	/**
	 * 辅导员类型用户
	 */
	public static final int USER_ADMIN = 3;

	private int id; // ID

	private String account; // 账户

	private String password = "111111"; // 密码：默认'111111'

	private String username; // 用户姓名

	private int type = USER_STUDENT; // 账户类型：默认1为学生；1为学生，2为班主任，3为辅导员

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
